import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import 'normalize.css'
import '@/assets/styles/common.less'
import lib from './components/library/index'
import directives from './directives/index'

const app = createApp(App)
Object.keys(directives).forEach(i => {
  app.directive(i, directives[i])
})
app.use(lib)
app
  .use(store)
  .use(router)
  .mount('#app')
